package com.sx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "email")
public class EmailProperties {
    private String fromAddress;
    private String[] toAddress;
    private String password;
}
